﻿using MapleLeaf.DataBase.Entity;
using SqlSugar;

namespace MapleLeaf.Model.CookBook.Organization.Entity {
    /// <summary>
    /// 字典项
    /// </summary>
    [SugarTable("sys_dict_item", "字典项")]
    public class DictItemEntity : DataEntityBase {
        /// <summary>
        /// 代码
        /// </summary>
        [SugarColumn(ColumnName = "dict_code", ColumnDescription = "代码")]
        public string DictCode { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        [SugarColumn(ColumnDescription = "值")]
        public string Value { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        [SugarColumn(ColumnDescription = "标签")]
        public string Label { get; set; }

        /// <summary>
        /// 标签类型
        /// </summary>
        [SugarColumn(ColumnName = "tag_type", ColumnDescription = "标签")]
        public string? TagType { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnDescription = "排序")]
        public int Sort { get; set; }

    }
}